<template>
  <div>
    <ul>
      <li v-for="(item,index) in arr" :key="index">{{item}}</li>
      <br>
      <button @click="choose">想吃啥呢?</button>
    </ul>
  </div>
</template>

<script>
export default {
  data (){
    return {
      arr:['火锅','烤肉','小龙虾','烧烤']
    }
  },
  methods:{
    choose(){
      this.arr.push(this.arr[0])
      this.arr.shift(this.arr[0])
    }
  }
}
</script>

<style>

</style>